package com.fund.com;


import com.fund.feign.clients.TUserClient;
import com.fund.feign.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @author Tght
 * @EnableFeignClients(clients = TUserClient.class)
 * @EnableFeignClients(clients = TUserClient.class, defaultConfiguration = DefaultFeignConfiguration.class) 要指明,不然都跑不起来
 */
@EnableFeignClients(clients = TUserClient.class, defaultConfiguration = DefaultFeignConfiguration.class)
@MapperScan(value = {"com.fund.com.dao"})
@SpringBootApplication
public class ComApplication {
    public static void main(String[] args) {
        SpringApplication.run(ComApplication.class, args);
    }
}
